package com.qfedu.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ---just do it---
 *
 * @author ren
 * @date 2025/10/15
 * @desc
 */

@Data
@TableName("ren_attendance_record")
public class CheckRecord {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer checkType;
    // 打卡日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime checkDate;
    // 打卡时间
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalDateTime checkTime;
    // 打卡地点
    private String checkAddress;
    // 打卡结果
    private String remark;
}
